package com.gxp.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.gxp.pojo.Role;


@Service
public interface RoleService {
	
	public List<Role> findAllIntRole();
	
	public List<Role> findAllExtRole();
	
	public Role findById(int roleId);
	
	public void updateRoleAuthRelation(int roleId, int[] authArr);
	
	public void updateUserRole(String userId, List<Integer> selectedRoleList);
	
}
